-- GENERATED SPELL FOR [Naraxis] --


function spell0_574(pUnit, Event) --@Deadly Poison,n/a--
pUnit:FullCastSpellOnTarget(3583,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_574', 2000, 1)
end

function spell1_574(pUnit, Event) --@Naraxis Web,n/a--
pUnit:FullCastSpellOnTarget(3542,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_574', 30259, 1)
end

function Sorts_574(pUnit, Event)
local choix_sorts_574 = math.random(0, 1)
if choix_sorts_574 == 0 then
pUnit:RegisterEvent('spell0_574', 1, 1)
end
if choix_sorts_574 == 1 then
pUnit:RegisterEvent('spell1_574', 1, 1)
end
end

function mob574_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_574', math.random(1500, 3000), 1)
end

function mob574_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob574_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob574_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(574, 1, 'mob574_Action')
RegisterUnitEvent(574, 2, 'mob574_Leave')
RegisterUnitEvent(574, 3, 'mob574_Kill')
RegisterUnitEvent(574, 4, 'mob574_Die')
